package com.xujinchen.struct;

public class ForDemo03 {
    public static void main(String[] args) {
        //1000以内被5整除的数每行三个
        for (int i = 0; i <= 1000; i++) {
            if (i % 5 == 0) {
                System.out.print(i + "\t");
            }
            if (i % (5 * 3) == 0) {//换行
                System.out.println("\n");
            }
        }
    }
}
